package com.kgc.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@ApiModel(value="com.sbt.bean.Footprint用户足迹信息表")
public class Footprint implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value="足迹编号")
    private Integer footprintId;
    @ApiModelProperty(value="用户编号")
    private Integer userId;
    @ApiModelProperty(value="足迹信息 浏览的商品id")
    private String footprintGoodsId;
    @ApiModelProperty(value="浏览的时间，当天之内重复浏览记录最后一次游览时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date footprintTime;

    public Integer getFootprintId() {
        return footprintId;
    }

    public void setFootprintId(Integer footprintId) {
        this.footprintId = footprintId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getFootprintGoodsId() {
        return footprintGoodsId;
    }

    public void setFootprintGoodsId(String footprintGoodsId) {
        this.footprintGoodsId = footprintGoodsId == null ? null : footprintGoodsId.trim();
    }

    public Date getFootprintTime() {
        return footprintTime;
    }

    public void setFootprintTime(Date footprintTime) {
        this.footprintTime = footprintTime;
    }
}